package {
	import flash.display.Sprite;
	
	public class Photo extends Sprite {
		private var id:Number;
		private var time_captured:String;
		private var latitude:Number;
		private var longitude:Number;
		private var altitude:Number;
		private var url:String;
		
		public function Photo(id:Number, time_captured:String, latitude:Number,
							  longitude:Number, altitude:Number, url:String) {
			this.id = id;
			this.time_captured = time_captured;
			this.latitude = latitude;
			this.longitude = longitude;
			this.altitude = altitude;
			this.url = Common.URL_PHOTO_START + url;
		}
		
		public function getId():Number {
			return id;
		}
		
		public function getTimeCaptured():String {
			return time_captured;
		}
		
		public function getLatitude():Number {
			return latitude;
		}
		
		public function getLongitude():Number {
			return longitude;
		}		
		
		public function getAltitude():Number {
			return altitude;
		}
		
		public function getUrl():String {
			return url;
		}
	}
}